module.exports = {
    /** 区分打包环境与开发环境
     * process.env.NODE_ENV==='production'  (打包环境)
     * process.env.NODE_ENV==='development' (开发环境)
     * baseUrl: process.env.NODE_ENV==='production'?"https://cdn.didabisai.com/front/":'front/',
     */
    chainWebpack: config => {
        config.plugin('html').tap(args => {
            args[0].title = "饿了么后台管理系统";
            return args;
        })
    },

    devServer: {
        port: 9090,
        https: false,
        hotOnly: false,
    },

}